<template>
  <div>
    <div class="p-5 pt-6" style="background-color: #f9f9f9;  height: 100Vh;">
      <div class="flex flex-col">
        <h4 class="mb-2">更多工具</h4>
        <van-row :gutter="[10,10]">
          <van-col span="8">
            <div class="flex flex-col justify-center items-center" style="background-color: #ffffff;width: 100%;height: 100px">
              <van-icon size="28" color="#1989fa" name="apps-o" />
              <span style="color: #888888">素材中心</span>
            </div>
          </van-col>
          <van-col span="8">
            <div class="flex flex-col justify-center items-center" style="background-color: #ffffff;width: 100%;height: 100px" @click="toBusinessCard">
              <van-icon size="28" color="#1989fa" name="coupon-o" />
              <span style="color: #888888">电子名片</span>
            </div>
          </van-col>
        </van-row>
      </div>

    </div>
    <Nav></Nav>
  </div>

</template>

<script setup lang="ts">

import { Nav } from '@/views/components/leads';
import {useRoute, useRouter} from "vue-router";

const route = useRoute();
const router = useRouter();
const customerUuid = route.params.customerUuid;
const omniUserUuid = localStorage.getItem('omni_user_uuid') as string;

const toBusinessCard =()=>{
  router.push(`/dist/${customerUuid}/card/${omniUserUuid}`);
}

</script>

<style>

</style>
